package com.hycreate.platform.modules.pointunit;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.hycreate.platform.common.persistence.Page;
import com.hycreate.platform.common.service.CrudService;

/**
 * 积分记录Service
 * @author 王
 * @version 2017-11-29
 */
@Service
@Transactional(readOnly = true)
public class YhcgPointunitService extends CrudService<YhcgPointunitDao, YhcgPointunit> {

	public YhcgPointunit get(String id) {
		return super.get(id);
	}
	
	public List<YhcgPointunit> findList(YhcgPointunit yhcgPointunit) {
		return super.findList(yhcgPointunit);
	}
	
	public Page<YhcgPointunit> findPage(Page<YhcgPointunit> page, YhcgPointunit yhcgPointunit) {
		return super.findPage(page, yhcgPointunit);
	}
	
	@Transactional(readOnly = false)
	public void save(YhcgPointunit yhcgPointunit) {
		super.save(yhcgPointunit);
	}
	
	@Transactional(readOnly = false)
	public void delete(YhcgPointunit yhcgPointunit) {
		super.delete(yhcgPointunit);
	}
	
}